package com.oto.util;

import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;

/**
 * 时间处理工具类
 * 
 * @author xueqiang.mi
 * @since 2011-1-21
 */
public class DateUtils {

	/**
	 * 获得中国时区的当前时间
	 * 
	 * @return Date
	 */
	public static final Date now() {
		Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("GMT+08:00"));
		return calendar.getTime();
	}
}
